home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Adobe Graphics & Publishing SDK 1996 December
/
Adobe Graphics & Publishing SDK 1996 December.iso
/
mac
/
PageMaker 6.5 SDK Mac
/
SourceCode
/
PageMakerClassLibrary
/
Commands
/
PChangeAll.cpp
< prev
next >
Wrap
C/C++ Source or Header
|
1996-09-04
|
913b
|
36 lines
/*
*--- PChangeAll.cpp ------------------------------------------------------
* Copyright (c) 1995-96 Adobe Systems Incorporated. All rights reserved.
* Created on Sun, Oct 22, 1995 @ 3:57 PM by Paul Ferguson.
*
* Description: For notes about this class, refer to the
* PCL documentation file ChangeAll.html
*-------------------------------------------------------------------------
*/
#include "PChangeAll.h"
#include "PRequestBuf.h"
#include "PCommand.h"
PChangeAll::PChangeAll
( const char * sFindWhat,
const char * sChangeTo,
short cSearchRange,
PMBool bMatchCase,
PMBool bWholeWord,
PMBool bClearAttr )
{
PRequestBuf request(strlen(sFindWhat) + strlen(sChangeTo) + 20);
request << sFindWhat
<< sChangeTo
<< cSearchRange
<< bMatchCase
<< bWholeWord
<< bClearAttr;
PCommand command(pm_changeall, request);
}
// end of PChangeAll.cpp